package com.sxg.convert;

import com.sxg.entity.SxgGoodsCollectionEntity;
import com.sxg.vo.SxgGoodsCollectionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 商品收藏
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgGoodsCollectionConvert {
    SxgGoodsCollectionConvert INSTANCE = Mappers.getMapper(SxgGoodsCollectionConvert.class);

    SxgGoodsCollectionEntity convert(SxgGoodsCollectionVO vo);

    SxgGoodsCollectionVO convert(SxgGoodsCollectionEntity entity);

    List<SxgGoodsCollectionVO> convertList(List<SxgGoodsCollectionEntity> list);

}